package com.mgkj.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mgkj.dto.OrderDto;
import com.mgkj.dto.listMoctcDto;
import com.mgkj.entity.Mocta;
import com.mgkj.vo.WorkOderHeaderVo;
import com.mgkj.vo.WorkOrderBodyVo;
import com.mgkj.vo.listMoctcVo;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author LiangPandeng
 * @since 2024-01-18
 */
public interface MoctaMapper extends BaseMapper<Mocta> {


    List<WorkOderHeaderVo> selectWorkOrderHeaderVo(String gzzx);


    /**
     *  根据单别 单号 查询需要领料的单身
     * @return
     */
    List<WorkOrderBodyVo> selectWorkOrderBodyVo(OrderDto orderDto);

    List<listMoctcVo> selectListMoctcBody(listMoctcDto dto);

    List<listMoctcVo> selectListMoctc(listMoctcDto dto);
}
